package com.platform.qujia.service;


import com.platform.qujia.pojo.*;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
public interface PosMachineService {
    SysUser selectUserByUserName(String userName);

    SysUser selectUserByUserId(String userId);

    //根据有枪查询加油员ID
    List<SysUser> selectOilPersonnelIdByGun(SysUser gun);

    //获取油站的油枪所绑定的打印设备
    StationDeviceManager getStationDeviceManager(StationDeviceManager stationDeviceManager);


    SysUser selectUserByUserIdCache(String userId);


    List<SysRole> selectUserRoleByUserId(String userId);

    StationDeviceManager getStationDeviceManagerNoCache(StationDeviceManager stationDeviceManager);
}
